{% load url from future %}
{% load i18n %}

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Adminus &#9679; Page</title>
    <style type="text/css" media="all">
        @import url("/static/css/style.css");
        @import url("/static/css/facebox.css");
    </style>
    <!--[if lt IE 8]><style type="text/css" media="all">@import url("css/ie.css");</style><![endif]-->
    </head>
    <body>
    <div id="hld">
        <div class="wrapper">		<!-- wrapper begins -->
            <div class="block small center login">

                <div class="block_head">
                    <div class="bheadl"></div>
                    <div class="bheadr"></div>

                    <h2>Login</h2>
                    <ul>
                        <li><a href="{% url 'site_index' %}">{% trans 'back to the site' %}</a></li>
                    </ul>
                </div>		<!-- .block_head ends -->




                <div class="block_content">

                    <div class="message info"><p>{% trans 'Enter login and password then click login' %}</p></div>
                    {% if form.errors %}
                    <p>{% trans "Your username and password didn't match. Please try again." %}</p>
                    {% endif %}

                        <form method="post" action="{% url 'django.contrib.auth.views.login' %}">
                        {% csrf_token %}
                        <p>
                        <p>
                            {{ form.username.label_tag }} <br />
                            {{ form.username }}
                        </p>
                        <p>
                            {{ form.password.label_tag }} <br />
                            {{ form.password }}
                        </p>

                        <p>
                            <input type="submit" class="submit" value="Login" /> &nbsp;
                            <input type="checkbox" class="checkbox" checked="checked" id="rememberme" /> <label for="rememberme">{% trans 'Remember me' %}</label>
                            <input type="hidden" name="next" value="{{ next }}" />
                        </p>
                    </form>

                </div>		<!-- .block_content ends -->

                <div class="bendl"></div>
                <div class="bendr"></div>

            </div>		<!-- .login ends -->

        </div>						<!-- wrapper ends -->

    </div>		<!-- #hld ends -->

    <!--[if IE]><script type="text/javascript" src="js/excanvas.js"></script><![endif]-->
    <script type="text/javascript" src="/static/js/jquery.js"></script>
    <script type="text/javascript" src="/static/js/jquery.img.preload.js"></script>
    <script type="text/javascript" src="/static/js/facebox.js"></script>
    <script type="text/javascript" src="js/jquery.select_skin.js"></script>
    <script type="text/javascript" src="js/jquery.pngfix.js"></script>
    </body>
</html>
